home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / PropertyChangeListener.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  34 lines

  1. /*
  2.  * @(#)PropertyChangeListener.java    1.10 98/07/01
  3.  *
  4.  * Copyright 1996-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.beans;
  16.  
  17. /**
  18.  * A "PropertyChange" event gets fired whenever a bean changes a "bound"
  19.  * property.  You can register a PropertyChangeListener with a source
  20.  * bean so as to be notified of any bound property updates.
  21.  */
  22.  
  23. public interface PropertyChangeListener extends java.util.EventListener {
  24.  
  25.     /**
  26.      * This method gets called when a bound property is changed.
  27.      * @param evt A PropertyChangeEvent object describing the event source 
  28.      *       and the property that has changed.
  29.      */
  30.  
  31.     void propertyChange(PropertyChangeEvent evt);
  32.  
  33. }
  34.